

from tkinter import *




root=Tk()

# 可以自动换行
msg= Message(root,
        text="这是一则消息",
        width=300)

msg.pack()
msg2 = Message(root,
        text="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        width=500)

msg2.pack()


# Spinbox







mainloop()